package com.example.recite_words.util;

import java.util.HashMap;
import java.util.Map;

public  class Config {
    public static final int  register_success= 200;
    public static final int  login_success =  200;
    public static final int logout_success = 200;
    public static final int  username_exist = 404;
    public static final int  already_login = 403;
    public static final int pass_error = 422;
    //TODO
    public static final int run_error = 0;
    public static final int link_error = 2;
    public static final int io_error = 1;
    public static final String BATTLE_EXIT = "http://139.196.179.217/battle/exit";
    public static final String REGIST_URL = "http://139.196.179.217/admin/register";
    public static final String LOGIN_URL = "http://139.196.179.217/admin/login";
    public static final String BATTLE = "ws://139.196.179.217/battle/link";
    public static final String LOGOUT_URL = "http://139.196.179.217/admin/logout";
    public static final String UPLOAD_FLIE = "http://139.196.179.217/admin/ymrjiushixun";
    public static final String DOWNLOAD_FLIE = "http://139.196.179.217/admin/ymrjila";
    public static final String EMAIL_CODE ="http://139.196.179.217/admin/registermail";

    public static  Map<String, Object> link_error_map = (Map<String, Object>) new HashMap(){{put("code",link_error);}};
    public static  Map<String, Object> io_error_map = (Map<String, Object>) new HashMap(){{put("code",io_error);}};
}
